home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / addUserAccount.z / addUserAccount
Encoding:
Text File  |  2002-10-03  |  5.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. AAAADDDDDDDDUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))                                          AAAADDDDDDDDUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      addUserAccount - add a user account to the system
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////aaaaddddddddUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt [----yyyy] ----llll _l_o_g_i_n-_n_a_m_e [----uuuu _u_s_e_r-_I_D ----gggg
  13.      _g_r_o_u_p-_I_D] [----PPPP] [----EEEE] [----GGGG _g_e_c_o_s-_i_n_f_o] [----AAAA _a_g_i_n_g-_i_n_f_o] [[----CCCC] ----HHHH _h_o_m_e-
  14.      _d_i_r_e_c_t_o_r_y] [----SSSS _s_h_e_l_l] [----RRRR | ----NNNN _a_l_t_e_r_n_a_t_e-_c_o_n_f_i_g-_f_i_l_e]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      aaaaddddddddUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt adds a local user account or an NIS access account to the
  18.      system.
  19.  
  20.      The aaaaddddddddUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt command has the following required parameter:
  21.  
  22.      ----llll _l_o_g_i_n-_n_a_m_e
  23.           The login name of the new user
  24.  
  25.      The aaaaddddddddUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt command has the following optional parameters:
  26.  
  27.      ----yyyy   Requests creation of an NIS access account
  28.  
  29.      ----uuuu _u_s_e_r-_I_D
  30.           The unique user-ID of the new user (local accounts only)
  31.  
  32.      ----gggg _g_r_o_u_p-_I_D
  33.           The primary group-ID of the new user (local accounts only)
  34.  
  35.      ----PPPP   Indicates that a password is to be added to the account.  The
  36.           command will prompt the user for the password.
  37.  
  38.      ----EEEE   Indicates that a password is to be added to the account.  The
  39.           command will prompt the user for the password.  The difference
  40.           between ----EEEE and ----PPPP is that for ----EEEE the password specified is assumed
  41.           to be pre-encrypted and will be saved as is in the passwd file.  For
  42.           the ----PPPP option, the password specified is treated as plain text and
  43.           will be encrypted before being saved in the passwd file.
  44.  
  45.      ----GGGG _g_e_c_o_s-_f_i_e_l_d
  46.           The gecos field of the new user
  47.  
  48.      ----AAAA _a_g_i_n_g-_i_n_f_o
  49.           The formatted password aging information for the new user
  50.  
  51.      ----CCCC   Create the new user's home directory (as specified by the ----HHHH option)
  52.  
  53.      ----HHHH _h_o_m_e-_d_i_r_e_c_t_o_r_y
  54.           The home directory for the new user
  55.  
  56.      ----SSSS _s_h_e_l_l
  57.           The shell program (e.g. /bin/csh) for the new user
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. AAAADDDDDDDDUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))                                          AAAADDDDDDDDUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ----RRRR   Run the default new user configuration process as defined in
  75.           /_v_a_r/_s_y_s_a_d_m/_c_o_n_f_i_g/_n_e_w_a_c_c_o_u_n_t._c_o_n_f_i_g
  76.  
  77.      ----NNNN _c_o_n_f_i_g-_f_i_l_e
  78.           Run an alternate new user configuration process as defined in
  79.           _c_o_n_f_i_g-_f_i_l_e
  80.  
  81. FFFFIIIILLLLEEEESSSS
  82.      /etc/passwd
  83.      /var/sysadm/config/newaccount.config
  84.           New user setup config file
  85.      /var/sysadm/config/newaccount.script
  86.           New user setup script
  87.      /var/sysadm/config/default.cshrc
  88.           Default .cshrc for new users
  89.      /var/sysadm/config/default.login
  90.           Default .login for new users
  91.      /var/sysadm/config/default.profile
  92.           Default .profile for new users
  93.  
  94. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  95.      ssssyyyyssssmmmmggggrrrr((((1111MMMM)))), rrrruuuunnnnpppprrrriiiivvvv((((1111MMMM)))), UUUUsssseeeerrrrMMMMaaaannnnaaaaggggeeeerrrr((((1111MMMM)))), ddddeeeelllleeeetttteeeeUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt((((1111MMMM)))),
  96.      mmmmooooddddiiiiffffyyyyUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt((((1111MMMM)))), nnnneeeewwwwaaaaccccccccoooouuuunnnntttt((((4444)))), ppppaaaasssssssswwwwdddd((((4444))))
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.